export default [
	{
		path: '/',
		redirect: '/dashboard/analysis',
		icon: 'icon-wenjianfile63',
		name: '首页',
	},
	{
        path:"/dashboard",
        name: "Dashboard",
        icon: "smile",
		children:[
			{
				path:"/dashboard/analysis",
				meta:{
					perms:[
						"operation:order:list",
						"operation:order:detail",
						"operation:order:ship"
					]
				},
				name:"analysis",
				icon: "icon-huiyuan"
			}
		]
	},
	{
        path:"/auth",
        name: "权限管理",
        icon: "icon-quanxianguanli",
		children:[
			{
				path:"/auth/role",
				meta:{
					perms:[
						"role:view",
						"role:batch:delete",
						"role:add",
						"role:update",
						"role:delete",
						"role:setting",
						"role:auth",
					]
				},
				name:"角色管理",
				icon: "icon-yidongyunkongzhitaiicon45"
			},
			{
				path:"/auth/role/save",
				meta:{
					perms:[
						"role:add"
					]
				},
				name:"新增角色",
				icon: "icon-shangpin",
				hideInMenu:true
			},
			{
				path:"/auth/menu",
				meta:{
					perms:[
						"menu:view",
						"menu:add",
						"menu:update",
						"menu:delete",
						"menu:resource:delete",
						"menu:resource:update",
						"menu:resource:add"
					]
				},
				name:"菜单管理",
				icon: "icon-yidongyunkongzhitaiicon45"
			},
		]
	},
	{
        path:"/vip",
        name: "会员管理",
        icon: "icon-huiyuan",
		children:[
			{
				path:"/vip/center",
				meta:{
					perms:[
						"vip:batch:import",
						"vip:batch:delete",
						"vip:delete",
						"vip:update",
						"vip:add",
						"vip:view",
						"vip:detail"
					]
				},
				name:"全部会员",
				icon: "icon-vip"
			},
			{
				path:"/vip/center/save",
				meta:{
					perms:[
						"vip:add"
					]
				},
				name:"新增会员",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/center/update/:id",
				meta:{
					perms:[
						"vip:update",
					]
				},
				name:"编辑会员",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/center/detail/:id",
				meta:{
					perms:[
						"vip:detail",
					]
				},
				name:"会员详情",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/center/body/save/:id",
				meta:{
					perms:[
						
					]
				},
				name:"添加体测信息",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/bind-card",
				meta:{
					perms:[
						"vip:bind:card:stop",
						"vip:bind:card:deduction",
						"vip:bind:card:renew",
						"vip:bind:card:detail",
						"vip:bind:card:view",
						"vip:bind:card:add"
					]
				},
				name:"会员绑卡",
				icon: "icon-icon-",
			},
			{
				path:"/vip/bind-card/save",
				meta:{
					perms:[
						"vip:bind:card:add",
					]
				},
				name:"添加会员卡",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/bind-card/renew/:cardId/:memberId",
				meta:{
					perms:[
						"vip:bind:card:renew",
					]
				},
				name:"续卡",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/bind-card/deduction/:cardId/:memberId",
				meta:{
					perms:[
						"vip:bind:card:deduction",
					]
				},
				name:"扣卡",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/bind-card/stop/:cardId/:memberId",
				meta:{
					perms:[
						"vip:bind:card:stop",
					]
				},
				name:"停卡",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/bind-card/convert/:cardId/:memberId",
				meta:{
					perms:[
						"vip:bind:card:convert",
					]
				},
				name:"次卡转换",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/card",
				meta:{
					perms:[
						"vip:card:batch:delete",
						"vip:card:batch:import",
						"vip:card:view",
						"vip:card:delete",
						"vip:card:update",
						"vip:card:add"
					]
				},
				name:"设置会员卡",
				icon: "icon-huiyuanqia"
			},
			{
				path:"/vip/card/save",
				meta:{
					perms:[
						"vip:card:add",
					]
				},
				name:"添加新种类",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/card/update/:id",
				meta:{
					perms:[
						"vip:card:update",
					]
				},
				name:"编辑种类",
				icon: "icon-dingdan",
				hideInMenu:true
			},
			{
				path:"/vip/card/detail/:cardId/:memberId",
				meta:{
					perms:[
						"vip:card:detail",
					]
				},
				name:"会员卡详情",
				icon: "icon-dingdan",
				hideInMenu:true
			}
		]
	},
	{
        path:"/shop",
        name: "场馆设置",
        icon: "icon-xinruguan",
		children:[
			{
				path:"/shop/center",
				meta:{
					perms:[
						"shop:delete",
						"shop:update",
						"shop:add",
						"shop:view",
						"shop:batch:delete",
						"shop:site",
						"shop:qrcode"
					]
				},
				name:"场馆列表",
				icon: "icon-xinruguan"
			},
			{
				path:"/shop/center/save",
				meta:{
					perms:[
						"shop:add",
					]
				},
				name:"新增场馆",
				icon: "icon-dengji",
				hideInMenu:true
			},
			{
				path:"/shop/center/update/:id",
				meta:{
					perms:[
						"shop:update",
					]
				},
				name:"编辑场馆",
				icon: "icon-dengji",
				hideInMenu:true
			}
		]
	},
	{
        path:"/site",
        name: "场地设置",
		hideInMenu:true,
		children:[
			{
				path:"/site/center/:id",
				meta:{
					perms:[
						"shop:site",
						"shop:site:delete",
						"shop:site:update",
						"shop:site:add",
						"shop:site:batch:delete"
					]
				},
				name:"场地列表",
				hideInMenu:true,
			},
			{
				path:"/site/center/save/:id",
				meta:{
					perms:[
						"shop:site:add",
					]
				},
				name:"新增场地",
				hideInMenu:true,
			},
			{
				path:"/site/center/update/:id/:siteId",
				meta:{
					perms:[
						"shop:site:update",
					]
				},
				name:"编辑场地",
				hideInMenu:true,
			}
		]
	},
	{
        path:"/lesson",
        name: "课程管理",
        icon: "icon-course",
		children:[
			{
				path:"/lesson/schedule",
				meta:{
					perms:[
						"lesson:view",
						"lesson:batch:delete",
						"lesson:delete",
						"lesson:update",
						"lesson:add",
						"lesson:group:schedule:copy:schedule",
						"lesson:group:schedule:create:schedule",
						"lesson:group:schedule:add:schedule"
					]
				},
				name:"团课管理",
				icon: "icon-kebiao"
			},
			{
				path:"/lesson/schedule/edit/:id",
				meta:{
					perms:[
						"lesson:schedule:update"
					]
				},
				name:"编辑团课管理",
				icon: "icon-kebiao",
				hideInMenu:true
			},
			{
				path:"/lesson/private",
				meta:{
					perms:[
						"lesson:view",
						"lesson:batch:delete",
						"lesson:delete",
						"lesson:update",
						"lesson:add",
						"lesson:schedule:view",
						"lesson:schedule:copy:schedule",
						"lesson:schedule:add:schedule"
					]
				},
				name:"私教管理",
				icon: "icon-kebiao"
			},
			{
				path:"/lesson/private/edit/:id",
				meta:{
					perms:[
						"lesson:schedule:update"
					]
				},
				name:"编辑私教管理",
				icon: "icon-kebiao",
				hideInMenu:true
			},
			{
				path:"/lesson/private/save",
				meta:{
					perms:[
						"lesson:add"
					]
				},
				name:"新增私教排班",
				icon: "icon-dengji",
				hideInMenu:true
			},
			{
				path:"/lesson/list",
				meta:{
					perms:[
						"shop:add",
						"lesson:delete",
						"lesson:update",
						"lesson:add",
						"lesson:reset",
						"lesson:view",
						"lesson:detail",
						"lesson:card"
					]
				},
				name:"课程列表",
				icon: "icon-kebiao",
				hideInMenu:true
			},
			{
				path:"/lesson/list/save/:courseType",
				meta:{
					perms:[
						"lesson:update",
					]
				},
				name:"新增课程",
				icon: "icon-dengji",
				hideInMenu:true
			},
			{
				path:"/lesson/list/update/:courseType/:id",
				meta:{
					perms:[
						"lesson:update",
					]
				},
				name:"编辑课程",
				icon: "icon-dengji",
				hideInMenu:true
			},
			{
				path:"/lesson/schedule/addSchedule",
				name:"添加排期",
				icon: "icon-dengji",
				hideInMenu:true
			},
		]
	},
	{
        path:"/tag",
        name: "标签",
        icon: "icon-biaoqian",
		children:[
			{
				path:"/tag/list",
				meta:{
					perms:[
						"tag:delete",
						"tag:update",
						"tag:add",
						"tag:view"
					]
				},
				name:"标签管理",
				icon: "icon-biaoqian"
			}
		]
	},
	{
        path:"/employee",
        name: "员工管理",
        icon: "icon-renyuan",
		children:[
			{
				path:"/employee/list",
				meta:{
					perms:[
						"employee:delete",
						"employee:update",
						"employee:add",
						"employee:view",
						"employee:batch:delete"
					]
				},
				name:"员工管理",
				icon: "icon-yuangongguanli"
			},
			{
				path:"/employee/list/save",
				meta:{
					perms:[
						"employee:coach:batch:delete",
						"employee:coach:view",
						"employee:coach:update",
						"employee:coach:add",
						"employee:coach:delete",
					]
				},
				name:"新增员工",
				hideInMenu:true,
			},
			{
				path:"/employee/list/update/:id",
				meta:{
					perms:[
						"employee:update",
					]
				},
				name:"编辑员工",
				hideInMenu:true,
			},
			{
				path:"/employee/list/detail/:id",
				meta:{
					perms:[
						"employee:detail",
					]
				},
				name:"员工分析",
				hideInMenu:true,
			},
			// {
			// 	path:"/employee/coach",
			// 	meta:{
			// 		perms:[
			// 			"employee:coach:delete",
			// 			"employee:coach:update",
			// 			"employee:coach:add",
			// 			"employee:coach:reset",
			// 			"employee:coach:view"
			// 		]
			// 	},
			// 	name:"coach",
			// 	icon: "icon-jianshen-nanxing-jiaolian"
			// },
			// {
			// 	path:"/employee/coach/save",
			// 	meta:{
			// 		perms:[
			// 			"employee:coach:add",
			// 		]
			// 	},
			// 	name:"coachSave",
			// 	hideInMenu:true,
			// },
			// {
			// 	path:"/employee/coach/update/:id",
			// 	meta:{
			// 		perms:[
			// 			"employee:coach:update",
			// 		]
			// 	},
			// 	name:"coachUpdate",
			// 	hideInMenu:true,
			// },
			// {
			// 	path:"/employee/coach/detail/:id",
			// 	meta:{
			// 		perms:[
			// 			"employee:coach:detail",
			// 		]
			// 	},
			// 	name:"coachDetail",
			// 	hideInMenu:true,
			// },
		]
	},
	{
        path:"/account",
        name: "个人页",
        icon: "icon-renyuan",
		children:[
			{
				path:"/account/center",
				meta:{
					perms:[
						"account:center:delete",
						"account:center:update",
						"account:center:add",
						"account:center:reset",
						"account:center:view"
					]
				},
				name:"个人中心",
				icon: "icon-renyuan"
			},
			{
				path:"/account/settings",
				meta:{
					perms:[
						// "account:settings:delete",
						// "account:settings:update",
						// "account:settings:add",
						// "account:settings:reset",
						// "account:settings:view"
					]
				},
				name:"个人设置",
				icon: "icon-huodong"
			}
		]
	},
	{
        path:"/sign",
        name: "预约签到",
        icon: "icon-biaoqian",
		children:[
			{
				path:"/sign/reservation",
				meta:{
					perms:[
						"sign:reservation:view",
						"sign:reservation:reservation:no",
						"sign:reservation:sign",
						"sign:reservation:reservation"
					]
				},
				name:"预约管理",
				icon: "icon-biaoqian"
			},
			{
				path:"/sign/signIn",
				meta:{
					perms:[
						"sign:sign:view",
						"sign:sign:sign"
					]
				},
				name:"签到管理",
				icon: "icon-biaoqian"
			},
			{
				path:"/sign/reservation/detail/:id",
				meta:{
					perms:[
						"sign:reservation:detail"
					]
				},
				name:"预约记录",
				icon: "icon-biaoqian",
				hideInMenu:true
			},
		]
	},
	{
        path:"/report",
        name: "数据报表",
        icon: "icon-biaoqian",
		children:[
			{
				path:"/report/day",
				meta:{
					perms:[
						"report:day:view",
						"report:day:export",
					]
				},
				name:"营收报表",
				icon: "icon-biaoqian"
			},
			{
				path:"/report/pay",
				meta:{
					perms:[
						"report:pay:view",
						"report:pay:export",
					]
				},
				name:"消费记录报表",
				icon: "icon-biaoqian"
			},
			{
				path:"/report/business",
				meta:{
					perms:[
						"report:business:view",
						"report:business:export",
					]
				},
				name:"授课月报表",
				icon: "icon-biaoqian"
			},
			{
				path:"/report/course/:userId",
				name:"员工月授课明细",
				icon: "icon-biaoqian",
				hideInMenu:true
			}
		]
	},
	{
        path:"/stock",
        name: "库存管理",
        icon: "icon-biaoqian",
		children:[
			{
				path:"/stock/giveaway",
				meta:{
					perms:[
						"stock:giveaway:view",
						"stock:giveaway:update",
						"stock:giveaway:delete",
						"stock:giveaway:add"
					]
				},
				name:"赠品管理",
				icon: "icon-biaoqian"
			},
			{
				path:"/stock/report",
				meta:{
					perms:[
						"stock:report:view",
						"stock:report:export",
					]
				},
				name:"出入库记录",
				icon: "icon-biaoqian"
			},
			{
				path:"/stock/report/:merchandiseId/:name",
				meta:{
					perms:[
						"stock:report:view",
						"stock:report:export",
					]
				},
				name:"出入库记录",
				icon: "icon-biaoqian",
				hideInMenu:true
			},
		]
	},
	{
        path:"/wage",
        name: "薪酬设置",
        icon: "icon-biaoqian",
		children:[
			{
				path:"/wage/setting",
				meta:{
					perms:[
						"wage:private:delete",
						"wage:private:add",
						"wage:sale:delete",
						"wage:sale:add",
						"wage:gd:delete",
						"wage:gd:add",
						"wage:view",
						"wage:sale:delete:td",
						"wage:private:delete:td"
					]
				},
				name:"基础配置",
				icon: "icon-biaoqian"
			}
		]
	},
	{
		path: "/404"
	}
]
